package cqrtplm.mapper;

import com.ty.basic.entity.IdentifierEntity;
import cqrtplm.entity.DescribeSpliceRuleDO;
import feign.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.BaseMapper;

import java.math.BigInteger;
import java.util.List;
import java.util.Set;

@Repository
public interface DescribeSpliceRuleMapper extends BaseMapper<DescribeSpliceRuleDO> {

    DescribeSpliceRuleDO queryDescribeSpliceRule(IdentifierEntity entity);

    int updateDescribeSpliceRule(DescribeSpliceRuleDO describeSpliceRuleDO);

    int insertDescribeSpliceRule(DescribeSpliceRuleDO describeSpliceRuleDO);

    List<DescribeSpliceRuleDO> queryDescribeSpliceRuleBatch(@Param("oidList") Set<String> oidList, @Param("otype") String otype);

}
